package com.quanxiaoha.weblog.common.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.quanxiaoha.weblog.common.domain.entity.ScheduleCount;
import com.quanxiaoha.weblog.common.domain.entity.ScheduleRecord;
import com.quanxiaoha.weblog.common.domain.query.CensusQuery;
import com.quanxiaoha.weblog.common.domain.query.CountQuery;
import com.quanxiaoha.weblog.common.domain.query.RecordQuery;
import com.quanxiaoha.weblog.common.domain.query.ScheduleRecordQuery;
import com.quanxiaoha.weblog.common.domain.vo.*;

import java.util.List;

public interface ScheduleCountService extends IService<ScheduleCount> {


    List<CountVo> recommend(CountQuery countQuery);

    List<CountVo> reverseRecommend(CountQuery countQuery);

    void saveCount(ScheduleRecord scheduleRecord);

    HomeDetailVo homeDetails(CensusQuery query);

    HomeHeaderVo homeHeader(CensusQuery query);
}
